package com.ate.lib_core.mvp.presenter

import com.ate.lib_core.mvp.model.IModel
import com.ate.lib_core.mvp.view.IView

/**
 * @author Ate
 * @description:
 * @date :2020/12/9 10:31
 */
class BasePresenter<M:IModel,V:IView>(var mModel:M? , var mView:V?):IPresenter<M,V> {

    override fun destory() {
        if (mModel !=null){
            mModel!!.destory()
            mModel = null
        }
    }
}